package com.gko100.dao;

import java.util.List;

import com.gko100.model.Article;
import com.gko100.model.Image;
import com.gko100.model.Navigation;

public interface ImageDao {

	Image findImageByImgId(Integer imgId);
	int getImageCount();

	void save(Image image);
	
	void update(Image image);
	
	void delete(Image image);
	
	List<Image> findImageListDelByArti(Article arti);
	
	List<Image> findImageListByArti(Article arti);
	
	List<Image> findImageAll();
	
	List<Image> findImageAll(int pageNo, int pageSize);
	
	Image findImageByName(String name);
	
	List<Image> findImageListByNav(Navigation nav);
	
	
}
